html, body, ul, li, a, h1, h5, p {
	margin: 0;
	padding: 0;
	border: none;
}

body {
	background-color: #e1dfeb;
}

/*
html, body, #wrapper, #main, #right-panel {
	height: 100%;
}
*/

#wrapper {
	margin: 32px auto;
	width: 950px;
}

.clear:after {
	content: "";
	display: block;
	clear: both;
}

#main-menu ul, #header-menu ul {
	list-style: none;
}

#main-menu li, #header-menu li {
	display: inline-block;
}

#main-menu {
	background-color: #fff;
	border-radius: 10px 10px 0 0;
}

#main-menu a{
	padding: 20px;
	display: block;
	color: #8d8d8d;
	text-decoration: none;
}

#main-menu a:hover {	
	background-image: url("../img/menu-hover-triangle.png"), url("../img/main-menu-hover.png");
	background-position: top center, left top;
	background-repeat: no-repeat, repeat-x;
	border-radius: 10px 10px 0 0;
}

#header {
	background: #2c2842;
	height: 240px;
}

#header h1 {
	margin-top: 70px;
	margin-bottom: 5px;
	margin-left: 55px;
}

.header-first-word {
	color: #ff992b;
}

.header-second-word {
	font-style: italic;
	color: #fff;
}

.header-description {
	background: #50545a;
	color: #fff;
	padding: 2px 5px;
	border-radius: 5px;
	margin-left: 55px;
}

#header-menu {
	background: url("../img/header-menu-tile.png") repeat-x;
}

#header-menu a {
	text-decoration: none;
	color: #fff;
	padding: 20px 10px;
	display: block;
}

#header-menu a:hover {
	background: url("../img/header-menu-hover.png") repeat-x;
}

#header-menu li {
	background: url("../img/header-menu-separator.png") top right no-repeat;
	padding-right: 5px;
}

#header-menu ul:first-child {
	padding-left: 20px;
}

#main {
	padding-top: 17px;
	background: #fff;
}

#right-panel {
	float: right;
	width: 304px;
	background: url("../img/right-panel-tile.png") repeat-y;
	min-height: 700px;
	margin-top: -17px;
}

#right-panel img {
	width: 125px;
	height: 125px;
	background: #fff;
}

#right-panel h6 {
	background: url("../img/right-panel-devisor.png") no-repeat;
	height: 32px;
	padding-left: 25px;
	padding-top: 10px;
	color: #ff8400;
	margin-bottom: 10px;
	margin-left: -1px;
}

.thumbnail-container {
	margin: 20px;
}

.recent-comments {
	margin-left: 40px;
	list-style-image: url("../img/recent-posts-bullet.png");
}

.recent-comments a {
	text-decoration: none;
	color: #373434;
}

.recent-comments a:hover {
	text-decoration: underline;
	color: #373434;
}

#content-wrapper {
	margin-right: 320px;
	margin-left: 20px;
	margin-bottom: 10px;
	background: #fff;
	border: 1px solid #e4e4e4;
}

#content-links {
	width: 208px;
	float: right;
	background: #fff;
	margin-right: 12px;
}

.recent-entires-bullet {
	background: url("../img/recent-entries-bullet.png") no-repeat;
	width: 5px;
	height: 5px;
	margin-right: 3px;
	display: inline-block;
}

#main h5 {
	margin-left: 12px;
	color: #ff8400;
	padding-top: 5px;
	padding-bottom: 5px;
}

#content-links ul {
	list-style-image: url("../img/random-entries-bullet.png");
	margin-left: 30px;
}

#content-links a {
	text-decoration: none;
	padding-left: 5px;
	color: #84878e;
}

#content-links li {
	margin-bottom: 10px;
}

#content-links a:hover {
	text-decoration: underline;
	padding-left: 5px;
	color: #84878e;
}

#content {
	background: #fff;
	margin-right: 221px;
	margin-left: 19px;
	border-right: 1px solid #e4e4e4;
}

.post {
	color: #afafaf;
	font-size: 11px;
	margin-bottom: 10px;
}

.post h1 {
	color: #5f666f;
	margin: 10px 0;
}

.post img {
	border: 1px solid #dfdfdf;
	width: 128px;
	height: 128px;
	float: left;
}

.post p {
	width: 234px;
	height: 113px;
	overflow: hidden;
	float: right;
	margin-bottom: 5px;
}

.post p:hover {
	width: 234px;
	height: auto;
	overflow: visible;
	float: right;
	display: block;
}

.post .date {
	font-weight: bold;
	color: #706262;
	padding: 0 5px;
}

#about-us {
	margin-right: 320px;
	margin-left: 20px;
	margin-bottom: 10px;
	border: 1px solid #e4e4e4;
	color: #afafaf;
	font-size: 11px;
	padding: 5px 10px;
}

#recent-categories {
	margin-right: 320px;
	margin-left: 20px;
}

.recent-category {
	width: 300px;
	height: 195px;
	border: 1px solid #e4e4e4;
	float: left;
	margin-bottom: 6px;
}

.recent-category:nth-child(2n){
	margin-left: 6px;
}